<ion-view view-title="售后网点" class="salesoutlets">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<div class="bar bar-subheader font-large-my">
		<div style="width: 100%;line-height: 34px;">
			<i class="iconfont icon-1 assertive"></i>
			<span class="name">&nbsp;售后网点</span>
			<span class="right-zhang" on-tap="rightSideMenu()">筛选<i class="iconfont icon-shaixuan"></i></span>
		</div>
	</div>
	
	<!-- 侧边菜单 -->
	<ion-side-menus>
		<!-- 中间内容 -->
		<ion-side-menu-content>
			<!--描述：滑动块-->
			<ion-content class="has-header has-subheader">
					<!--描述：下拉刷新-->
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
					<!--描述：列表-->
					<div class="list">
						<div class="font-large-my font-gray-my text-center padding" ng-if="detail.outlet.length==0||detail.outlet==null">
							<i class="icon ion-sad-outline font-1rem-my"></i> 对不起，没有符合条件的数据.....
						</div>
						<div class="item padding-0" ng-repeat="detail in detail.outlet">
							<div class="title assertive">
								{{detail.name}}
								<span class="right-zhang font-gray-my font-middle-my">{{detail.region}}</span>
							</div>
							<div class="line-bottom">
								{{detail.brand}}
								<span class="right-zhang font-gray-my">{{detail.address}}</span>
							</div>
							<div class="box-show">
								<div class="link"><i class="iconfont icon-1"></i>负责人：{{detail.contact}}</div>
								<div class="link"><i class="icon ion-ios-telephone"></i>联系电话：<a href="tel:{{detail.contact_info}}">{{detail.contact_info}}</a></div>
							</div>
						</div>
					</div>
					<!--描述：当用户到达页脚或页脚附近时-->
				<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-content>
		</ion-side-menu-content>
		
		<!-- 右侧菜单 -->
		<ion-side-menu side="right">
			<!-- 搜索条件 -->
			<ion-content style="padding-top: 44px;">
				<div class="list" style="margin-top: 8px;padding: 0.5rem;">
						<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
								<div class="input-label">品牌</div>
								<div class="input-value" ng-click="doSelectBrand()">{{scopeModel.brand_select.brand_name}}</div>
							</div>

					<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">省份</div>
							<div class="input-value" ng-click="doSelectProvince()">{{input.province.name}}</div>
						</div>
						<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">城市</div>
							<div class="input-value" ng-click="doSelectCity()">{{input.city.name}}</div>
						</div>
						<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">区/县</div>
							<div class="input-value" ng-click="doSelectDistrict()">{{input.district.name}}</div>
						</div>
				</div>
				<div class="row">
					<div class="col"><button class="button button-full button-energized" on-tap="doCancel()">取消</button></div>
					<div class="col"><button class="button button-full button-assertive" on-tap="doSearch()">确定</button></div>
				</div>
			</ion-content>
		</ion-side-menu>
	</ion-side-menus>
</ion-view>